<?php
class Macys_Constants {
	
	Const SECURE_DATA = 'MACYS_SECURE';
	CONST SESSION = 'Macys_Session';
	
	CONST OAUTH_SECURE_SESSION = 'Macys_Secure_Access';
	
	/**
	 * Headers for WSSG Services & API PROXY 
	 * Headers
	 */
	CONST MACYS_CLIENT_HEADER = 'x-macys-webservice-client-id';
	CONST MACYS_CUSTOMER_HEADER = 'x-macys-customer-id';
	CONST MACYS_USER_CONTEXT = 'X-Mashery-Oauth-User-Context';
	
	
	/**
	 * Uses the OAuth 2.0 Spec
	 * This as experimental implementation of WSSG Oauth 2.0 spec
	 */
	CONST CLIENTID = 'client_id';
	CONST CLIENTSECRET = 'client_secret';
	CONST REDIRECT_URL = 'redirect_uri';
	CONST RESPONSE_TYPE = 'response_type';
	CONST SCOPE = 'scope';
	CONST STATE = 'state';
	
	
	CONST MOBILEFLOW = 'mobileflow';
	CONST TOKENFLOW = 'tokenflow';
	CONST CODEFLOW = 'codeflow';
	
	/**
	 * Convert Code to Access Token
	 */
	CONST GRANTTYPE = 'grant_type';
	CONST REFRESH_TOKEN = 'refresh_token';
	CONST AUTHROIZATION_CODE = 'authorization_code';
}